package com.zdj.controller;

import com.zdj.model.param.DateFormatParam;
import org.apache.tomcat.util.http.fileupload.IOUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.util.Properties;

/**
 * @author zhangdj
 * @date 2023-01-17 17:24
 */
@RestController
@RequestMapping("/date/format")
public class DateTimeFormatController {

    @GetMapping("/getConfig")
    public void getConfig(@Valid DateFormatParam param) {
        System.out.println(param);
    }
}
